﻿namespace WMS6.Web.RoleFunctionServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Collections.Generic;
    using System.Data;
    using System.ServiceModel;

    [GeneratedCode("System.ServiceModel", "3.0.0.0"), ServiceContract(Namespace="WMS6.Services", ConfigurationName="RoleFunctionServiceRef.IRoleFunctionService")]
    public interface IRoleFunctionService
    {
        [OperationContract(Action="WMS6.Services/IRoleFunctionService/DeleteRoleAndRoleFunction", ReplyAction="WMS6.Services/IRoleFunctionService/DeleteRoleAndRoleFunctionResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/IRoleFunctionService/DeleteRoleAndRoleFunctionFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        string DeleteRoleAndRoleFunction(List<string> roleID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/IRoleFunctionService/GetAllFunctionListFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/IRoleFunctionService/GetAllFunctionList", ReplyAction="WMS6.Services/IRoleFunctionService/GetAllFunctionListResponse")]
        DataSet GetAllFunctionList();
        [OperationContract(Action="WMS6.Services/IRoleFunctionService/GetOperationByUserIDAndFunctionID", ReplyAction="WMS6.Services/IRoleFunctionService/GetOperationByUserIDAndFunctionIDResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/IRoleFunctionService/GetOperationByUserIDAndFunctionIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        List<string> GetOperationByUserIDAndFunctionID(string userID, string functionID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/IRoleFunctionService/GetRoleAndRoleFunctionDataByRoleIdFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/IRoleFunctionService/GetRoleAndRoleFunctionDataByRoleId", ReplyAction="WMS6.Services/IRoleFunctionService/GetRoleAndRoleFunctionDataByRoleIdResponse")]
        DataSet GetRoleAndRoleFunctionDataByRoleId(string roleId, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IRoleFunctionService/GetRoleFunctionData", ReplyAction="WMS6.Services/IRoleFunctionService/GetRoleFunctionDataResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/IRoleFunctionService/GetRoleFunctionDataFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        DataSet GetRoleFunctionData(string id, string type, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/IRoleFunctionService/GetRoleMenuDataFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/IRoleFunctionService/GetRoleMenuData", ReplyAction="WMS6.Services/IRoleFunctionService/GetRoleMenuDataResponse")]
        DataSet GetRoleMenuData(string roleID, string currentWH, PubParasInfo pubParasInfo);
        [OperationContract(Action="WMS6.Services/IRoleFunctionService/GetWHDataByUserID", ReplyAction="WMS6.Services/IRoleFunctionService/GetWHDataByUserIDResponse"), FaultContract(typeof(FaultDetail), Action="WMS6.Services/IRoleFunctionService/GetWHDataByUserIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6")]
        DataSet GetWHDataByUserID(string userID, PubParasInfo pubParasInfo);
        [FaultContract(typeof(FaultDetail), Action="WMS6.Services/IRoleFunctionService/UpdateRoleFunctionAndOperationByRoleGIDFaultDetailFault", Name="FaultDetail", Namespace="PowerWMS6"), OperationContract(Action="WMS6.Services/IRoleFunctionService/UpdateRoleFunctionAndOperationByRoleGID", ReplyAction="WMS6.Services/IRoleFunctionService/UpdateRoleFunctionAndOperationByRoleGIDResponse")]
        string UpdateRoleFunctionAndOperationByRoleGID(string type, RoleInfo roleInfo, List<string> FunctionTrueList, List<string> FunctionFalseList, List<string> OperationTrueList, List<string> OperationFalseList, string strCopyName, PubParasInfo pubParasInfo);
    }
}

